package org.grow.fund.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.grow.fund.domain.BankMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.grow.fund.dto.BankMaterialDto;

import java.util.List;

/**
* @author xieweig
* @description 针对表【BankMaterial】的数据库操作Mapper
* @createDate 2023-09-25 09:23:35
* @Entity org.grow.fund.domain.BankMaterial
*/
@Mapper
public interface BankMaterialMapper extends BaseMapper<BankMaterial> {

    List<BankMaterial> dynamicQueryForBank(@Param("bmd") BankMaterialDto bankMaterialDto);
    IPage<BankMaterial> dynamicQueryForBank(IPage<BankMaterial> page,@Param("bmd") BankMaterialDto bankMaterialDto);

    IPage<BankMaterial> dynamicQueryForCompany(Page<BankMaterial> page, @Param("bmd") BankMaterialDto bankMaterialDto);
}




